export interface IPageTable {
    tableProp?:ITableProp
    tableObj:ITableObj
}
export interface ITableProp {
    actionWidth?: string,//操作列宽度
    width?: string,//表格宽
    stripe?: boolean,
    size?: string,
}

export interface ITableObj {
    data: Array<any>,
    columnConfig: Array<IColumnConfig>,
}

export interface IColumnConfig {
    prop:string,//数据对应的属性名 。{bank:'银行'} 属性名：bank
    name:string,//表格header名
    width?:number,//固定宽度(不建议全部固定，除非table宽度固定)
    minWidth?:number,//最小宽度
}

export interface IPage {
    layout?: string
    total: number
    pageSize: number
    currentPage: number
    pageSizes?: Array<number>
    hideOnSinglePage?: boolean
}

export interface IDrawer{
    lockScroll?: boolean
    modal?: boolean
    direction?: string
    size?: string | number
    title?: string
    appendToBody?: boolean
}

